#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include"TCcalculator.h"
#include"SCcalculator.h"
#include"Graphcalculator.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    TCcalculator *tcCalculator;
    SCcalculator *scCalculator;
    Graphcalculator *graphCalculator;
    // 其他成员变量和函数...
private slots:
    void on_actionTranslationCalculator_triggered();
    void on_pushButtonTranslationCalculator_clicked();

    void on_actionScientificCalculator_triggered();
    void on_pushButtonScientificCalculator_clicked();

    void on_actionGraphCalculator_triggered();
    void on_pushButtonGraphCalculator_clicked();

    void on_pushButtonInstruction_clicked(); //说明文档

    void on_actionStar_triggered(); // 星空背景
    void on_actionGrass_triggered(); // 草原背景
    void on_actionYourName_triggered(); // 无背景
    void on_actionDefault_triggered(); // 无背景
};
#endif // MAINWINDOW_H
